<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html:html lang="true">
<head>
	<html:base />

	<title>浮光掠影_佩华花艺学校</title>

	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />
	<meta http-equiv="keywords" content="" />
	<meta http-equiv="description" content="This is my page" />
	<link href="<%=request.getContextPath()%>/css/black/style.css" rel="stylesheet" type="text/css" />
	
	<!-- vlightbox -->
	<link href="<%=request.getContextPath()%>/plugin/vlightbox/css/vlightbox.css" rel="stylesheet" type="text/css" />
	<style type="text/css">#vlightbox a#vlb{display:none}</style>
	<link href="<%=request.getContextPath()%>/plugin/vlightbox/css/visuallightbox.css" rel="stylesheet" type="text/css" media="screen" />
	<script src="<%=request.getContextPath()%>/plugin/vlightbox/js/jquery.min.js" type="text/javascript"></script>
</head>

<body>
	<div id="content">
		<jsp:include page="/front/layout/header.jsp"></jsp:include>
		<jsp:include page="/front/layout/nav.jsp"></jsp:include>
		<div id="main" class="bg2">
			<div id="vlightbox">
				<logic:iterate id="albumPhotoForm" name="albumPhotoFormList">
					<a rel="lightbox_vlb" href="<%=request.getContextPath()%>${albumPhotoForm.url}">
						<img src="<%=request.getContextPath()%>${albumPhotoForm.thumbUrl}" width="120" height="80" />
						<span>${albumPhotoForm.des}</span>
					</a>
				</logic:iterate>
				<script src="<%=request.getContextPath()%>/plugin/vlightbox/js/visuallightbox.js" type="text/javascript"></script>
			</div>
			<div class="pager right">
				<logic:greaterThan name="curPage" value="1">
					<a href="<%=request.getContextPath()%>${actionPath}&curPage=1&totalRow=${totalRow}&albumId=${albumPhotoForm.albumId}">&lt;</a>
				</logic:greaterThan>
				<logic:equal name="curPage" value="1">
					<span class="disabled">&lt;</span>
				</logic:equal>
				<c:forEach var="page" begin="1" end="${totalPage}" step="1">
					<logic:notEqual name="curPage" value="${page}">
						<a href="<%=request.getContextPath()%>${actionPath}&curPage=${page}&totalRow=${totalRow}&albumId=${albumPhotoForm.albumId}">${page}</a>
					</logic:notEqual>
					<logic:equal name="curPage" value="${page}">
						<span class="disabled">${page}</span>
					</logic:equal>
				</c:forEach>
				<logic:lessThan name="curPage" value="${totalPage}">
					<a href="<%=request.getContextPath()%>${actionPath}&curPage=${totalPage}&totalRow=${totalRow}&albumId=${albumPhotoForm.albumId}">&gt;</a>
				</logic:lessThan>
				<logic:equal name="curPage" value="${totalPage}">
					<span class="disabled">&gt;</span>
				</logic:equal>
			</div>
		</div>
		<jsp:include page="/front/layout/contact.jsp"></jsp:include>
	</div>
</body>
</html:html>
